﻿using System;
using System.Collections.Generic;
using System.Text;

namespace MINERP.MODEL.FoundationModel
{
    /// <summary>
    /// 实体类Tb_paperTemplate
    /// </summary>
    public class Tb_paperTemplate_Info
    {
        #region 私有字段
        private int _tempLateId;
        private string _templateName;
        private int _paperTypeId;
        private int _paperFaceId;
        private double _boardLength;
        private double _boardHeight;
        public bool HasBarCode { get; set; }
        #endregion

        #region 公开属性

        public int printerId { get; set; }
        public string PaperTypeName { get; set; }
        public string PaperFaceName { get; set; }
        public double area { get { return _boardLength * _boardHeight; } }

        public int TempLateId
        {
            get { return _tempLateId; }
            set { _tempLateId = value; }
        }
        public string TemplateName
        {
            get { return _templateName; }
            set { _templateName = value; }
        }
        public int PaperTypeId
        {
            get { return _paperTypeId; }
            set { _paperTypeId = value; }
        }
        public int PaperFaceId
        {
            get { return _paperFaceId; }
            set { _paperFaceId = value; }
        }
        public double BoardLength
        {
            get { return _boardLength; }
            set { _boardLength = value; }
        }
        public double BoardHeight
        {
            get { return _boardHeight; }
            set { _boardHeight = value; }
        }
        public int MinPhotoSize
        {
            get;
            set;
        }
        #endregion
    }
}
